using System;

namespace LocalBoard.Domain
{
	/// <summary>
	/// Summary description for Comment.
	/// </summary>
	public class Comment
	{
		public Comment(int id, string body, string postedByUserName, string postedByUserId, DateTime date, Profile author)
		{
			_id = id;
			_body = body;
			_postedByUserName = postedByUserName;
			_postedByUserId = postedByUserId;
			_date = date;
			_author = author;
		}
		public Comment(string body, string postedByUserName, string postedByUserId, Profile author)
		{
			_body = body;
			_postedByUserName = postedByUserName;
			_postedByUserId = postedByUserId;
			_author = author;
		}

		private int _id;
		private string _body;
		private string _postedByUserName;
		private string _postedByUserId;
		private DateTime _date;
		private Profile _author;
		
		public int Id
		{
			get{return _id;}
//			set{_id = value;}
		}
		public string Body
		{
			get{return _body;}
//			set{_body = value;}
		}
		public DateTime Date
		{
			get{return _date;}
//			set{_date = value;}
		}
		public string PostedByUserName
		{
			get{return _postedByUserName;}
//			set{_postedByUserName = value;}
		}
		public string PostedByUserId
		{
			get{return _postedByUserId;}
//			set{_postedByUserId = value;}
		}
		public Profile Author
		{
			get{return _author;}
//			set{_author = value;}
		}

		public Comment()
		{
			//
			// TODO: Add constructor logic here
			//
		}
	}
}
